/*当页资料显示*/
.elective_center .cont-item,
.elective_center .cont4-cont {
    display:block!important;
}
/*公开课选择*/
#elective_center_select {
    margin-left: 50px;
    margin-top: 8px;
    margin-bottom: 1px;
}
#elective_center_select {
    display: inline-flex;
}
.elective_center #elective_center_select select[name="status"]{
    background-position-x: 74px!important;
}
.elective_center #elective_center_select select[name="subject"],
.elective_center #elective_center_select select[name="grade"] {
    background-position-x: 48px!important;
}

.elective_center #elective_center_select select {
    background: url(../img/select-icon.svg) no-repeat!important;
    background-position-y: center!important;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    border: none;
    outline: none;
    font-weight: bold;
    font-size: 14px;
    background-color: transparent;
    background-size: 20px!important;
    margin-right: 15px;
}
/*课程样式*/
.elective_center .cont4-cont-body {
    display: grid;
    background: #f7f7f7;
    padding-bottom: 15px;
}
.elective_center .class-box:nth-child(1),
.elective_center .class-box:nth-child(2),
.elective_center .class-box:nth-child(3) {
    margin-top: 1px!important;
}
.elective_center .class-box {
    width: 271px;
    padding: 15px;
    background: white;
    margin: 11px 5.125px;
    border: 1px solid #ececec;
    float: left;
    min-height: 388px;
}
.cont4-cont-body .cont-list {
    margin: 5.125px;
}
.elective_center .head-title .main-title {
    font-size: 22px;
    font-weight: bold;
}
.elective_center .head-title .sub-title {
    font-size: 14px;
}
.elective_center .head-title .main-title,
.elective_center .head-title .sub-title{
    color: #333;
    text-align: center;
    letter-spacing: 2px;
}
.elective_center .head-title {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    margin-top: -52px;
    width: 271px;
    padding-top: 2px;
    padding-bottom: 2px;
}
.elective_center .class-content .abbreviation {
    padding-top: 40px;
    font-size: 20px;
    color: #444;
    /* font-weight: bold; */
    letter-spacing: 2px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 12px;
    background-image: url(../img/buy-class-down.svg);
    background-repeat: no-repeat;
    background-size: 53px;
    background-position-x: right;
    background-position-y: 46px;
}
.elective_center .active .class-content .abbreviation{
    background-image: url(../img/buy-class-up.svg);
}
.elective_center .main-word {
    word-break: break-all;
    font-size: 14px;
    line-height: 24px;
    color: #343434;
    letter-spacing: 2px;
    text-align: justify;
    padding-bottom: 66px;
    min-height: 144px;
}
.elective_center .org-price {
    color: #ff723b;
    font-size: 22px;
    letter-spacing: 2px;
    font-weight: bold;
    display: inherit;
}
.elective_center .org-price span:nth-child(1) {
    /*margin-right: -7px;*/
}
.elective_center .del-price {
    text-decoration: line-through;
    color: #888888;
    letter-spacing: 2px;
    margin-right: 19px;
    font-size: 18px;
}
.elective_center .class-content .price {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.elective_center .class-content .buy {
    color: #ff723b;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    width: 269px;
    height: 38px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    margin-bottom: 39px;
}
.class-content{
    position: absolute;
    width: 271px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: -16px;
    border: 1px solid #ececec;
    border-top: 0px;
    background: white;
}
.elective_center .main-word p {
    margin-bottom: 15px;
}
.elective_center .main-word p:last-child {
    margin-bottom: 0px;
}
/*预设隐藏*/
.main-word {
    display: none;
}
/*点击效果*/
.cont4-cont-body .active .class-content {
    box-shadow: 0px 10px 10px #dadada;
    z-index: 1;
}
.cont4-cont-body .active {
    box-shadow: 0px 0px 10px #dadada;
}
.cont4-cont-body .active .buy {
    background: #ff723b;
    color: white!important;
    border-color: #ff723b!important;
}
.cont4-cont-body .active .class-box-cover {
    position: absolute;
    margin-top: -204px;
    height: 100%;
    width: 311px;
    z-index: 20;
    margin-left: -15px;
}
.cont4-cont-body .active {
    width: 280px!important;
    margin: 11px 0.125px!important;
}
.cont4-cont-body .active .head-img img,
.cont4-cont-body .active .head-title,
.cont4-cont-body .active .class-content {
    width: 280px!important;
}

.part1 {
    padding: 100px 0 0px 0;
}
.class-box-cover {
    display:none;
}
.active .class-box-cover {
    display:block;
}